package com.site.wisdom_construction.entity.qualityModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-11-21 
 */
@ApiModel (value ="质量文件表实体类", description="QualityDocument")
public class QualityDocument {
	/**
	 * 质量文件ID
	 */
   	@ApiModelProperty(value = "质量文件ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 文件类型
	 */
   	@ApiModelProperty(value = "文件类型", name = "documentType")
	private String documentType;

	/**
	 * 文件标题
	 */
   	@ApiModelProperty(value = "文件标题", name = "documentTitle")
	private String documentTitle;

	/**
	 * 文件地址
	 */
   	@ApiModelProperty(value = "文件地址", name = "documentUrl")
	private String documentUrl;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:MM:ss")
	private Date uploadTime;

	/**
	 * 上传人
	 */
   	@ApiModelProperty(value = "上传人", name = "uploadPerson")
	private String uploadPerson;

	public QualityDocument(){ super(); }

	public QualityDocument(Integer id, Integer projectId, String documentType, String documentTitle, String documentUrl, Date uploadTime, String uploadPerson) {
		this.id = id;
		this.projectId = projectId;
		this.documentType = documentType;
		this.documentTitle = documentTitle;
		this.documentUrl = documentUrl;
		this.uploadTime = uploadTime;
		this.uploadPerson = uploadPerson;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getDocumentType() {
		return this.documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public String getDocumentTitle() {
		return this.documentTitle;
	}

	public void setDocumentTitle(String documentTitle) {
		this.documentTitle = documentTitle;
	}

	public String getDocumentUrl() {
		return this.documentUrl;
	}

	public void setDocumentUrl(String documentUrl) {
		this.documentUrl = documentUrl;
	}

	public Date getUploadTime() {
		return this.uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getUploadPerson() {
		return this.uploadPerson;
	}

	public void setUploadPerson(String uploadPerson) {
		this.uploadPerson = uploadPerson;
	}
}
